why did doctor strange give thanos the time stone